package com.example.dell1.startproject_jwq123.iface;

import com.example.dell1.startproject_jwq123.bean.WeatherInfo;

/**
 * Created by dell1 on 2017/3/14.
 */

//统一不同方式获取天气，定义接口
public interface WeatherListener {
    //成功获取,返回天气信息
    void onResponse(WeatherInfo weatherInfo);
    //获取失败,返回错误信息
    void onFail(String msg);

}
